#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

void Exchange(char str1[], char str2[])
{
	int i = 0;
	while (str1[i] != '\0' && str2[i] != '\0')
	{
		
		char temp = str1[i];
		str1[i] = str2[i];
		str2[i] = temp;
		i++;
	}
}


int main()
{
	char arr1[] = "abcdef";
	char arr2[] = "hello!";
//	int ret = strlen(arr1);
	Exchange(arr1, arr2);
	printf("%s\n", arr1);
	printf("%s\n", arr2);

	return 0;
}